package com.neu.db;

import java.util.List;

import androidx.room.Dao;
import androidx.room.Insert;
import androidx.room.Query;

@Dao
public interface CarDao {
    @Insert
    void insertCar(Car car);

    @Query("select * from cars")
    List<Car> getAll();
}
